package common


import (
	"math/rand"
	"time"
)

func RandomStr(length int) string{
	result := ""
	randRune := "1234567890ZXCVBNMASDFGHJKLQWERTYUIOPzxcvbnmasdfghjklqwertyuiop"
	for i:=0; i<= length ;i++{
		RandSource := rand.New(rand.NewSource(time.Now().UnixNano()))
		index := RandSource.Intn(len(randRune)-1)
		result += string(index)
	}
	return result
}